package com.ssm.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageBean<T> {

    private int pageNum;//当前页码
    private int pageSize;//每页显示条数
    private int pageCount;//总页数
    private int prePage;//上一页
    private int nextPage;//下一页
    private List<T> data;//数据

}